// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeSnapshotsRequest.h"

namespace aliyun { namespace Ecs {

DescribeSnapshotsRequest::DescribeSnapshotsRequest() : RpcAcsRequest("Ecs", "2014-05-26", "DescribeSnapshots") {
}

int64 DescribeSnapshotsRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeSnapshotsRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeSnapshotsRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeSnapshotsRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeSnapshotsRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeSnapshotsRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeSnapshotsRequest::GetInstanceId(void) const {
  return InstanceId_;
}
void DescribeSnapshotsRequest::SetInstanceId(const string& InstanceId) {
  InstanceId_ = InstanceId;
  PutQueryParameter("InstanceId", InstanceId_);
}

const string& DescribeSnapshotsRequest::GetDiskId(void) const {
  return DiskId_;
}
void DescribeSnapshotsRequest::SetDiskId(const string& DiskId) {
  DiskId_ = DiskId;
  PutQueryParameter("DiskId", DiskId_);
}

const string& DescribeSnapshotsRequest::GetSnapshotIds(void) const {
  return SnapshotIds_;
}
void DescribeSnapshotsRequest::SetSnapshotIds(const string& SnapshotIds) {
  SnapshotIds_ = SnapshotIds;
  PutQueryParameter("SnapshotIds", SnapshotIds_);
}

int DescribeSnapshotsRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeSnapshotsRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

int DescribeSnapshotsRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeSnapshotsRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

const string& DescribeSnapshotsRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeSnapshotsRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& DescribeSnapshotsRequest::GetSnapshotName(void) const {
  return SnapshotName_;
}
void DescribeSnapshotsRequest::SetSnapshotName(const string& SnapshotName) {
  SnapshotName_ = SnapshotName;
  PutQueryParameter("SnapshotName", SnapshotName_);
}

const string& DescribeSnapshotsRequest::GetStatus(void) const {
  return Status_;
}
void DescribeSnapshotsRequest::SetStatus(const string& Status) {
  Status_ = Status;
  PutQueryParameter("Status", Status_);
}

const string& DescribeSnapshotsRequest::GetSnapshotType(void) const {
  return SnapshotType_;
}
void DescribeSnapshotsRequest::SetSnapshotType(const string& SnapshotType) {
  SnapshotType_ = SnapshotType;
  PutQueryParameter("SnapshotType", SnapshotType_);
}

const string& DescribeSnapshotsRequest::GetFilter_1_Key(void) const {
  return Filter_1_Key_;
}
void DescribeSnapshotsRequest::SetFilter_1_Key(const string& Filter_1_Key) {
  Filter_1_Key_ = Filter_1_Key;
  PutQueryParameter("Filter.1.Key", Filter_1_Key_);
}

const string& DescribeSnapshotsRequest::GetFilter_2_Key(void) const {
  return Filter_2_Key_;
}
void DescribeSnapshotsRequest::SetFilter_2_Key(const string& Filter_2_Key) {
  Filter_2_Key_ = Filter_2_Key;
  PutQueryParameter("Filter.2.Key", Filter_2_Key_);
}

const string& DescribeSnapshotsRequest::GetFilter_1_Value(void) const {
  return Filter_1_Value_;
}
void DescribeSnapshotsRequest::SetFilter_1_Value(const string& Filter_1_Value) {
  Filter_1_Value_ = Filter_1_Value;
  PutQueryParameter("Filter.1.Value", Filter_1_Value_);
}

const string& DescribeSnapshotsRequest::GetFilter_2_Value(void) const {
  return Filter_2_Value_;
}
void DescribeSnapshotsRequest::SetFilter_2_Value(const string& Filter_2_Value) {
  Filter_2_Value_ = Filter_2_Value;
  PutQueryParameter("Filter.2.Value", Filter_2_Value_);
}

const string& DescribeSnapshotsRequest::GetUsage(void) const {
  return Usage_;
}
void DescribeSnapshotsRequest::SetUsage(const string& Usage) {
  Usage_ = Usage;
  PutQueryParameter("Usage", Usage_);
}

const string& DescribeSnapshotsRequest::GetSourceDiskType(void) const {
  return SourceDiskType_;
}
void DescribeSnapshotsRequest::SetSourceDiskType(const string& SourceDiskType) {
  SourceDiskType_ = SourceDiskType;
  PutQueryParameter("SourceDiskType", SourceDiskType_);
}

const string& DescribeSnapshotsRequest::GetTag_1_Key(void) const {
  return Tag_1_Key_;
}
void DescribeSnapshotsRequest::SetTag_1_Key(const string& Tag_1_Key) {
  Tag_1_Key_ = Tag_1_Key;
  PutQueryParameter("Tag.1.Key", Tag_1_Key_);
}

const string& DescribeSnapshotsRequest::GetTag_2_Key(void) const {
  return Tag_2_Key_;
}
void DescribeSnapshotsRequest::SetTag_2_Key(const string& Tag_2_Key) {
  Tag_2_Key_ = Tag_2_Key;
  PutQueryParameter("Tag.2.Key", Tag_2_Key_);
}

const string& DescribeSnapshotsRequest::GetTag_3_Key(void) const {
  return Tag_3_Key_;
}
void DescribeSnapshotsRequest::SetTag_3_Key(const string& Tag_3_Key) {
  Tag_3_Key_ = Tag_3_Key;
  PutQueryParameter("Tag.3.Key", Tag_3_Key_);
}

const string& DescribeSnapshotsRequest::GetTag_4_Key(void) const {
  return Tag_4_Key_;
}
void DescribeSnapshotsRequest::SetTag_4_Key(const string& Tag_4_Key) {
  Tag_4_Key_ = Tag_4_Key;
  PutQueryParameter("Tag.4.Key", Tag_4_Key_);
}

const string& DescribeSnapshotsRequest::GetTag_5_Key(void) const {
  return Tag_5_Key_;
}
void DescribeSnapshotsRequest::SetTag_5_Key(const string& Tag_5_Key) {
  Tag_5_Key_ = Tag_5_Key;
  PutQueryParameter("Tag.5.Key", Tag_5_Key_);
}

const string& DescribeSnapshotsRequest::GetTag_1_Value(void) const {
  return Tag_1_Value_;
}
void DescribeSnapshotsRequest::SetTag_1_Value(const string& Tag_1_Value) {
  Tag_1_Value_ = Tag_1_Value;
  PutQueryParameter("Tag.1.Value", Tag_1_Value_);
}

const string& DescribeSnapshotsRequest::GetTag_2_Value(void) const {
  return Tag_2_Value_;
}
void DescribeSnapshotsRequest::SetTag_2_Value(const string& Tag_2_Value) {
  Tag_2_Value_ = Tag_2_Value;
  PutQueryParameter("Tag.2.Value", Tag_2_Value_);
}

const string& DescribeSnapshotsRequest::GetTag_3_Value(void) const {
  return Tag_3_Value_;
}
void DescribeSnapshotsRequest::SetTag_3_Value(const string& Tag_3_Value) {
  Tag_3_Value_ = Tag_3_Value;
  PutQueryParameter("Tag.3.Value", Tag_3_Value_);
}

const string& DescribeSnapshotsRequest::GetTag_4_Value(void) const {
  return Tag_4_Value_;
}
void DescribeSnapshotsRequest::SetTag_4_Value(const string& Tag_4_Value) {
  Tag_4_Value_ = Tag_4_Value;
  PutQueryParameter("Tag.4.Value", Tag_4_Value_);
}

const string& DescribeSnapshotsRequest::GetTag_5_Value(void) const {
  return Tag_5_Value_;
}
void DescribeSnapshotsRequest::SetTag_5_Value(const string& Tag_5_Value) {
  Tag_5_Value_ = Tag_5_Value;
  PutQueryParameter("Tag.5.Value", Tag_5_Value_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
